package com.ps.view.tree;

import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;

public class Item {
	@ElementList(required=false, inline=true)
	private List<Item> item = new ArrayList<Item>(0);
	
	@Attribute
	private String text;
	
	@Attribute
	private String id;
	

	
	@Attribute(required=false)
	private String tooltip;
	
	@Attribute(required=false)
	private String im0;
	
	@Attribute(required=false)
	private String im1;
	
	@Attribute(required=false)
	private String im2;
	
	@Attribute(required=false)
	private String aCol;
	
	@Attribute(required=false)
	private String sCol;
	
	@Attribute(required=false)
	private String select;
	
	
	@Attribute(required=false)
	private String style;
	
	@Attribute(required=false)
 	private String open;
	
	@Attribute(required=false)
	private String call;
	
	@Attribute(required=false)
	private String checked;
	
	@Attribute(required=false)
	private String nocheckbox;	
	
	@Attribute(required=false)
	private String child;
	
	@Attribute(required=false)
	private String imheight;
	
	@Attribute(required=false)
	private String imwidth;
	
	@Attribute(required=false)
	private String topoffset;
	
	@Attribute(required=false)
	private String radio;

	
	
	
	
	public Item() {
		this.im0 = "folderClosed.gif";
		this.im1 = "folderOpen.gif";
		this.im2 = "folderClosed.gif";
	}

	public List<Item> getItem() {
		return item;
	}

	public void setItem(List<Item> item) {
		this.item = item;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTooltip() {
		return tooltip;
	}

	public void setTooltip(String tooltip) {
		this.tooltip = tooltip;
	}

	public String getIm0() {
		return im0;
	}

	public void setIm0(String im0) {
		this.im0 = im0;
	}

	public String getIm1() {
		return im1;
	}

	public void setIm1(String im1) {
		this.im1 = im1;
	}

	public String getIm2() {
		return im2;
	}

	public void setIm2(String im2) {
		this.im2 = im2;
	}

	public String getaCol() {
		return aCol;
	}

	public void setaCol(String aCol) {
		this.aCol = aCol;
	}

	public String getsCol() {
		return sCol;
	}

	public void setsCol(String sCol) {
		this.sCol = sCol;
	}

	public String getSelect() {
		return select;
	}

	public void setSelect(String select) {
		this.select = select;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getCall() {
		return call;
	}

	public void setCall(String call) {
		this.call = call;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public String getNocheckbox() {
		return nocheckbox;
	}

	public void setNocheckbox(String nocheckbox) {
		this.nocheckbox = nocheckbox;
	}

	public String getChild() {
		return child;
	}

	public void setChild(String child) {
		this.child = child;
	}

	public String getImheight() {
		return imheight;
	}

	public void setImheight(String imheight) {
		this.imheight = imheight;
	}

	public String getImwidth() {
		return imwidth;
	}

	public void setImwidth(String imwidth) {
		this.imwidth = imwidth;
	}

	public String getTopoffset() {
		return topoffset;
	}

	public void setTopoffset(String topoffset) {
		this.topoffset = topoffset;
	}

	public String getRadio() {
		return radio;
	}

	public void setRadio(String radio) {
		this.radio = radio;
	}
	
	
	
	
}
